import request from '@/utils/request'
// 登录接口

const enum API {
    login='/admin/acl/index/login',
    info='/admin/acl/index/info',
    logout='/admin/acl/index/logout'
      
}
export const reqLogin=(data:any)=>request.post(API.login,data)
// 登录后在主页获取信息接口
export const reqInfo=()=>request.get(API.info)
export const reqLogout=()=>request.post(API.logout)